package com.example.service;

import com.example.model.Department;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DepartmentService {
    String getNameById(int departmentId);

    List<Department> getDepartmentList();

    Department getDepartmentById(Integer id);

    List<Department> getTop5Departments();

    List<Department> getDepartments();

    void deleteDepartmentById(int id);

    void updateDepartment(Department department);

    void insertDepartment(Department department);
}
